package liangtWorkSpace.springTest.aopProxyTest;

import liangtWorkSpace.springTest.aopProxyTest.dao.CustomerDao;
import liangtWorkSpace.springTest.aopProxyTest.factory.MyBeanFactory;
import org.junit.jupiter.api.Test;

/**
 * @author liangt
 * @ClassName: JdkProxyTest
 * @title: JdkProxyTest
 * @projectName liangtWorkSpace.springTest.aopTest
 * @description: TODO
 * @date 2020/10/13 18:08
 */
public class JdkProxyTest {
    @Test
    public void test() {
        CustomerDao customerDao = MyBeanFactory.getBean();
        customerDao.add();
        customerDao.update();
        customerDao.find();
        customerDao.delete();
    }
}
